package com.kuang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 学生表
 * @TableName student
 */
@TableName(value ="student")
@Data
public class Student implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学生学号，要唯一，不能重复
     */
    @TableField(value = "student_no")
    private String studentNo;

    /**
     * 学生姓名
     */
    @TableField(value = "student_name")
    private String studentName;

    /**
     * 学生性别
     */
    @TableField(value = "student_sex")
    private String studentSex;

    /**
     * 入学年份
     */
    @TableField(value = "student_start_year")
    private String studentStartYear;

    /**
     * 毕业年份
     */
    @TableField(value = "student_finish_year")
    private String studentFinishYear;

    /**
     * 民族
     */
    @TableField(value = "student_nation")
    private String studentNation;

    /**
     * 学生生日
     */

    @TableField(value = "student_birthday")
    private Date studentBirthday;

    /**
     * 学院
     */
    @TableField(value = "student_college")
    private String studentCollege;

    /**
     * 专业
     */
    @TableField(value = "student_major")
    private String studentMajor;

    /**
     * 学生类型，例如：中专/大专/本科/研究生
     */
    @TableField(value = "student_type")
    private Integer studentType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}